package com.by.cart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.cart.entity.CartMYSQL;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CartMYSQLMapper extends BaseMapper<CartMYSQL> {

    List<CartMYSQL> selectByUserId(Long userId);

    int deleteByUserId (Long userId);

}
